package com.xiu.mapper;

import java.util.List;

import com.xiu.pojo.ExamSubject;

public interface ExamSubjectMapper {
    int deleteByPrimaryKey(Integer examSubjectId);

    int insert(ExamSubject examSubject);

    int insertSelective(ExamSubject examSubject);

    ExamSubject selectByPrimaryKey(Integer examSubjectId);

    //教师显示所有科目信息
    List<ExamSubject> findAllSubjects();
    
    //修改科目信息
    int updateByPrimaryKeySelective(ExamSubject examSubject);

    int updateByPrimaryKey(ExamSubject examSubject);
    
    //学生查看科目
    List<ExamSubject> stuFindSubjects(int examStuId);
    
    ExamSubject findDone(int examSubjectId);
}